package com.java.common.enums;

import lombok.Getter;

/**
 * @author jl
 * Created on 2020/10/13
 */
@Getter
public enum Sex {

    WOMAN(0, "女"),
    MAN(1, "男"),
    SECRET(2, "保密"),
    ;

    private final Integer code;

    private final String desc;

    Sex(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
